package com.bird.system.domain.menu

interface MenuRepository {
    /**
     * 保存菜单实体
     */
    fun save(menuEntity: MenuEntity)
    /**
     * 通过菜单ID查找菜单
     */
    fun oneMenuById(menuId: Long): MenuEntity?
    /**
     * 通过菜单ID列表查找菜单
     */
    fun listMenuByIds(ids: List<Long>): List<MenuEntity>
    /**
     * 通过父菜单ID查找菜单
     */
    fun listMenuByParentId(parentId: Long): List<MenuEntity>

}